package com.springcloud.Service;

import com.entities.Payment;
import com.springcloud.dao.paymentdao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: springcloud
 * @description:
 * @author: zfy
 * @create: 2020-08-16 10:14
 */
@Service
public class paymentServiceImpl implements paymentService {



    @Autowired
    private paymentdao paymentdao;



    @Override
    public Payment selectByid(String id) {
        return paymentdao.selectByid(id);
    }

    @Override
    public int Insert(String  payment) {
        return paymentdao.Insert(payment);
    }
}